<?php
// /app/app.php

// REQUIRE:
if(version_compare(PHP_VERSION, '5.3.0', '>=')) { require_once __DIR__.'/../src/include.inc'; } 
else { require_once dirname(__FILE__).'/../src/include.inc'; }

$app = new Silex\Application();
// Url Generator
//$app->register(new Silex\Extension\UrlGeneratorExtension());

// Twig Service Provider
$app->register(new Silex\Provider\TwigServiceProvider(), array(
	'twig.path' => __DIR__.'/../src/view/',
));
$app['debug'];
return $app;
?>